package main

import "fmt"

func main() {
	i1 := 1
	s1 := "1"
	var f1 float64 = 1.1
	sl1 := make([]int, 3)
	sl1[0] = 1

	func(i *int, s string, f float64, sl []int) {
		*i = 2
		s = "2"
		f = 1.2
		sl[0] = 2
		fmt.Printf("%d,%s,%f, %d\n", *i, s, f, sl[0])
	}(&i1, s1, f1, sl1)

	fmt.Printf("%d,%s,%f,%d\n", i1, s1, f1, sl1[0])
}
